package com.example.myapplication;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.ListView;

import androidx.appcompat.app.AppCompatActivity;

public class DongtaiActivity extends AppCompatActivity {

    private ImageView xx_iv;
    private ImageView lx_iv;
    private ImageView dt_iv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_dongtai);

        initView();

        initData();

        initEvent();

    }
    private void initView(){
        xx_iv = findViewById(R.id.xx_iv);
        lx_iv = findViewById(R.id.lx_iv);
        dt_iv = findViewById(R.id.dt_iv);
    }
    private void initData(){

    }
    private void initEvent(){
xx_iv.setOnClickListener(new View.OnClickListener() {
    @Override
    public void onClick(View v) {
        Intent intent = new Intent(DongtaiActivity.this,MainActivity.class);
        startActivity(intent);
    }

});
        lx_iv.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(DongtaiActivity.this,LianxirenActivity.class);
                startActivity(intent);
            }
        });

}
    }